Search Results: "Jose Carlos Garcia Sogo"

18 June 2006

Jose Carlos Garcia Sogo: AverTV DBV-T USB2 "Volar"

I buyed yesterday this device, which is a nice DVB-T USB stick, which also includes a RF antenna, though no remote control. I buyed it because it claimed Linux support in the box, and when I was visiting their webpage to see how was that support I was glad to discover that they were pointing to LinuxTV as having support for this device. Of course, I followed the given procedure in linked pages and... nothing. Modules are not aware of this device at all. So I statarted looking at the code and it seems that there is no support for this card yet. But as Avermedia was telling so straight that it has support, I tried to change the code to add the new ID of this card, just in case it could work with the same module than older models. After recompiling and installing the card is detected, but firmware cannot be loaded, as it seems to be incompatible with this device. Looking a bit closer, I found in Avermedia website precompiled modules for FC3, FC4, Mandriva and SUSE, bt not for Debian (even Sarge). They seem to be Avermedia propietary modules, but I should check if they are based upon another GPL module out there, as they are not giving away the source code. So, basically, I have a new DVB-T device that I cannot use though manufacturer claims that it has Linux support (which in part is true).

15 May 2006

Jose Carlos Garcia Sogo: Who invented Need for Speed?

I was a bit shocked when I first saw this video of a guy on a Ferrari running all through Paris at an August 1976 morning. This is actually a film made by filmmaker Claude Lelouch, attching a camera to car's bumper and running, running, running! You can even buy a DVD, or download the clip in Quicktime format (and better quality).

14 May 2006

Jose Carlos Garcia Sogo: For those who care about Jingle...

there is a quite basic interesting article on what are actually the differences between what Google calls Jingle and what actually Jingle spec is and can do.

13 May 2006

Jose Carlos Garcia Sogo: Apt supports pdiff

In an almost unnoticed change, apt in unstable now supports pdiff. This was introduced in apt 0.6.44, from what has been in unstable since October 2005. Instead of having to download all Packages or Sources file each time you run apt-get update, it will only get the differences and merge them with your previous downloaded files. This will improve download time a lot, altough for Packages and Sources files only. Binary .deb packages will still have to be downloaded completely.
Des:9 http://ftp.fr.debian.org sid/main Sources/DiffIndex [12,5kB]

21 April 2006

Jose Carlos Garcia Sogo: Ancient entry?

If you are wondering about the date of the permalink of this entry, it is not wrong. It is just that today it is my birthdate. Yay!

Jose Carlos Garcia Sogo: GCompareFunc...

or why C++ sucks. I am wondering if someone could be able to explain me why this piece of code fails when I try to compile it:
  1. GMJabberClient *GMJabberManager::GetClient (GmAccount *ac)
  2. {
  3.   GMJabberClient *client = NULL;
  4.  
  5.   client = g_slist_find_custom (jabber_client_list, ac,
  6.                                 (GCompareFunc) compare_clients_by_account);
  7.   return client;
  8.  
  9. }
  10.  
  11. gint GMJabberManager::compare_clients_by_account (gconstpointer a,
  12.                                                   gconstpointer b)
  13. {
  14.   GmAccount *client_ac;
  15.  
  16.   GMJabberClient *client = (GMJabberClient *) a;
  17.   GmAccount *ac = (GmAccount *) b;
  18.  
  19.   client_ac = client->GetGmAccount();
  20.   if ( strcmp(client_ac->aid, ac->aid) )
  21.      return 0;
  22.  
  23.   return 1;
  24. }
It fails at g_slist_find_custom call, why GCC saying:
endpoints/jabber.cpp: In member function GMJabberClient* GMJabberManager::GetClient(GmAccount*):
endpoints/jabber.cpp: 6 error: invalid use of member (did you forget the & ?)
make[1]: *** [jabber.o] Error 1
I have been only able to fix this by declaring compare_clients_by_account () function a static function, while it actually should be private method of GMJabberManager client. Ideas?
Update 04-21-2006 11:31:34.- First of all, thanks to everybody who have replied to me by mail. Fot those who wonder why I don't have comments enabled, the answer is easy... it is another place to look at, to keep clean of spam, and to care. Those who suggested using constructions like this->compare_clients_by_account or &compare;_clients_by_account that won't work, as other people explained to me (and GCC says a bit more clearly if you try to compile that). As this is C++, when using such constructions you get a member function which gets passed a pointer to the class instance. This way, the prototype for what g_slist_find_custom expects and what it is actually being passed is not the same. This is where static member functions enter in action. Those are functions belonging to a class that not get passed the this pointer, avoiding the problem. Please, follow next week our "C++ sucks / what the hell" show!

19 April 2006

Jose Carlos Garcia Sogo: freedesktop.org CDIS

Since it was first proposed I have been following Nicolas on CDIS. I think this is the next step now that a lot of apps are adding DBUS interfaces to different extent. Though this interfaces can also serve a purpose by their own, allowing specialized applications to comunicate one to each other, my opinion is also that the main use of this is desktop integration: being able to automatically pause music when I get an Ekiga call, put my IM client as Away if screensaver starts (meaning that I am not at the keyboard) and so. He seems to be searching for a mentor for Google Summer of Code 2006, so if someone seems inclined to have a better desktop experience I think it will worth.

18 April 2006

Jose Carlos Garcia Sogo: Nuclear Power?

Why not? It actually never went away, as most of the existing nuclear power plants are still being operated at full level to produce electricity, not only in countries like France, in which about 78% of the electicity is produced by nuclear power plants, but also in other countries as Spain, UK, or the United States (20% of the electricity produced at nuclear powerplants). Asian developing countries are nowadays building several nuclear power plants, as they have an increasing demand that cannot be only satisfied by fuel, coal or natural gas, leaving apart the also crucial problem of the cost of those commodities. For example, India, having 15 nuclear plants in use right now is building 8 more. With a population of 1100 million people, they need those watts. As Patrick Moore, co-founder of Greenpeace, says:
Here's why: Wind and solar power have their place, but because they are intermittent and unpredictable they simply can't replace big baseload plants such as coal, nuclear and hydroelectric. Natural gas, a fossil fuel, is too expensive already, and its price is too volatile to risk building big baseload plants. Given that hydroelectric resources are built pretty much to capacity, nuclear is, by elimination, the only viable substitute for coal. It's that simple.
Of course we have to think also in wind and solar power. And not only for generating electricity to put on the net, but also as a way to reduce home energy consumption. For example, in Madrid, local goverment is forcing that every flat building designed from 2007 have solar panels on top for generating hot water. This will mean a lot of fuel saving. But it is only a local measure (not country wide) and at the same time it cames a bit late: there have been a construction boom during last 10 years and the cycle is somehow reaching an end. And also wind or solar energies have other environmental problems. Wind mills require elevated zones, with good winds, to be placed. And those will affect landscape and birds. But solar and wind energies cannot be promoted and think at the same time that they will not have any impact. Will have to deploy in not a far future (perhaps we are late now) every non fossil baseload sources of energy we have. This includes solar, wind and also nuclear. There are environmental, economical and also polical and estrategical issues that must be considered when a range from 60% to 80% of our energy is produced using coal, fuel or natural gas coming from always conflictive world areas, and at even higher prices, as more demand from developing countries enter in the market and resources end and other more expensive locations have to be used. At the same time, we can not leave apart those problems that nuclear power has, including accidents, but we have to consider them from a neutral scientific and technical point of view. Or we can shut down our computers and chat around a table with a light candle.

Jose Carlos Garcia Sogo: Boot Time Enhancements

Does somwbody know what happened to those efforts to increase boot speed? Not long ago, some people started making funny graphics with boot times and some solutions regarding paralellism were given. But I haven't seen them applied, and the discussion about this issue disappeared. If I remember right, the main problem was with hotplug, and I know that this problem has been solved in latest udev packages by preloading some modules, bu tanyway I think that start up time can and should be cut off as most as we can. This is not ony important for desktop users (which have also another point that can be improved in GNOME or KDE, as well as X itself), but also for servers. If some problem occurs that leads to a reboot, the shortest this reboot time is the better, as you will get your services back sooner.

13 April 2006

Jose Carlos Garcia Sogo: Google Calendar

One step further in total worl domination, Google has launched Google Calendar. It completely rocks. It has iCal support, sharing calendars, notifications, reminders, and other cool stuff. And you can easily import your calendars, be them in iCal or CSV formats. The only thing I see it lacks is allowing you to publish your calendars out of Google Calendar, so you can use multisync or Evolution to sync the calendar in google with your PDA one. If this cannot be done, this service is not so useful as it is Gmail, which at least has POP3 support (though it still lacks the very interesting IMAP support). Once IMAP support for Gmail and exporting calendars work for Google Calendar, a lot of people will bow at Google's domination. Google Calendar web view

12 April 2006

Jose Carlos Garcia Sogo: Where are people?

As shown in the image below, the highway (A-6, Spanish North-West main route) is almost empty. The image is from 18:56 CEST, and the problem is that it was supposed that this highway (like every other highway going out from Madrid) had a very heavy traffic jam today, as we start Easter holidays today. But almost no one of those has even a light traffic jam. At this rate, it will be impossible to reach the 2 million of car movements predicted for today. Update 04-13-2006 12:33.- And people appeared, as you can see in the left of the new image. And I waited till today to go to my parent's for not getting any traffic jam. DGT camera - A-6 empty DGT camera - A-6 full

9 April 2006

Jose Carlos Garcia Sogo: iLBC GIPS license: non DFSG compatible.

After looking a bit for which was the actual license for iLBC, a speech codec used by lots of VoIP products, it seems completely non-DFSG compatible to me. Though they claim in the main site that it is FREE, and they provide source code, with a not very restricted license, it has some issues that makes it clearly non-DFSG compatible. Fisrt, the license itself is not stated anywhere but their main web site. But after some look you can find that software is subject to the GIPS Royalty Free License, which has been yet commented in debian-legal mailing list. It is really a pity that people or organizations wanting to give away some product does fail on their goal because of some glitches in their own made licenses. But for now, we will start reviewing all projects maintained by Debian VoIP Team and all iLBC code will be removed from upstream sources that include it.

8 April 2006

Jose Carlos Garcia Sogo: Autostart applications in GNOME 2.14

Dear Lazyweb, Gnome 2.14 can autostart applications by putting a .desktop file in /etc/xdg/autostart directory. I have been asked to do that for Beagle packages, but I have a question to make: how can a user to disable autostart of Beagle if he desires to do so? If he have to edit /etc he won't have rights, if he cannot do it, I won't make such requested change. Update 2006-04-09: Thanks to Yann Rouillard, Travis Watkins and Sam Morris for their comments on how autostart actually works, and pointing me to Freedesktop.org autostart specs. I will make some tests on how this works in Gnome, with gnome-session, and then I will probably include this in beagle package.

Jose Carlos Garcia Sogo: ipod nano

I have been playing a bit with my new shiny 4GB ipod nano and looks quite impressive: slim and beautiful, and with a very nice quality sound. From the very moment you break the plastic bag covering the box keeping it you find that everything has been very well think to offer you a great image, with everything in the box kept ordered and in its own package. I have been using gtkpod with it. While it works quite well, I think that rythmbox should implement ipod support (it has read options, but you cannot write to it).

2 April 2006

Jose Carlos Garcia Sogo: ekiga in Debian

For those of you wondering about why Ekiga is not in unstable yet, the problem seems to be some discussion about MPL in debian-legal of which nobody has informed any of ekiga/opal mantainers (Thanks again for your communication folks!). The main problem is point 3.2, which reads
3.2. Availability of Source Code.
Any Modification which You create or to which You contribute must be made available in Source Code form under the terms of this License either on the same media as an Executable version or via an accepted Electronic Distribution Mechanism to anyone to whom you made an Executable version available; and if made available via Electronic Distribution Mechanism, must remain available for at least twelve (12) months after the date it initially became available, or at least six (6) months after a subsequent version of that particular Modification has been made available to such recipients. You are responsible for ensuring that the Source Code version remains available even if the Electronic Distribution Mechanism is mantained by a third party.
Also, as a comment in annotated MPL 1.1 you can read:
This provision is intended to ensure availability of code, while minimizing the burden on each Contributor. You do not need to ship Source Code to your Modifications with each Executable, as long as you make it available on-line and tell the recipient where it is. It does not require that you return Modifications to mozilla.org or any other named organization. However, you may do so if you choose, and we hope that you wish to participate in the development community that mozilla.org is chartered to foster.
You don't have to ask a lawyer to see that Debian does yet comply with this. As Alioth is now an official Debian system, and as OPAL is being mantained using Alioth and svn.debian.ORG, every patch we can make to OPAL source will be kept not only for those required 6 months, but forever. And nobody can comply about a SCM system not being an accepted Electronic Distribution Mechanism. For those wondering why OPAL is not relicensed using GPL/LGPL, you can ask yourself by performing a quick Google search. Basically the problem is that there were many conributors in the past and that some parts of the code were written sponsored under the condition of the code be kept under MPL. So, please, stop being so integrist and GPL centric. There are other licenses that have problems (as GPL have) but are as DFSG compliant like GPL and BSD are. We have to keep main clean, but we have a lot of problems to solve and we don't need to make up any more.

19 March 2006

Jose Carlos Garcia Sogo: Debian VoIP Team

Some time after co-founding Debian VoIP Team it is nice to see how it has grown up and it is working pretty well, with more software being added to it and more people joining and discussing different issues and proposing interesting solutions. One of the most interesting things I have seen lately is Buildserver.net. It is a buildd server which get debian/ dirs from our team SVN, get upstream tarballs (or are feeded with them) compiles and uploads packages to a dak enabled system for a different list of arches and releases, including backports for Etch and Sarge and some other Ubuntu releases.

12 March 2006

Jose Carlos Garcia Sogo: Giving up in bazaar.

Yes, I have decide to give up in using bazaar to keep packages that I do not maintain in any of those Alioth teams. While I think that allowing people to branch your package if needed, I believe after having tried it that bazaar is a bit too much what a developer needs to keep his own packages in a SCM repo. Smokeping has been actually co-maintained using bazaar. Tough that allowed Niko to make his own packages and then send me back a point in his repo to merge when some changes were done, that made to some confussion when both were working on the same issue, and the work needed to merge his branch usually meant some delays in having a new version ready and uploaded to the archive. Thus, I have switched to SVN as my SCM to keep my packages repo. You can wonder why that change from a distributed SCM to a centralized one. I could have used mercurial or any other distributed SCM, but I wanted to know when a person is making changes to one of my packages. So if I have another co-maintainer for any other of my packages I can easily add him to the list of people allowed to make commits. Also, being SVN allows anyone wanting to make changes branching from my software to use SVK, as a distributed SCM which keeps pretty well integration with SVN. I have yet to make websvn package to work in order to provide a link to my repo, but it is taking a bit longer than expected, and I am sure that is because of something quite stupid is being left out in its configuration.

Jose Carlos Garcia Sogo: Gnome 2.14 is "almost" out!

In a very few hours from this post, Gnome 2.14 will be out. Looking the last releases it seems that releasing each 6 months is working pretty well, allowing people to have software with nice features soon. One of the interesting ones is Ekiga. Formerly known as GnomeMeeting it integrates SIP support now and I am quite confident it will be expanded to other VoIP technologies as well. Avahi support is other of the nifty features. It has a lot of interesting uses in both corporate and home networks. And looking at what other people is writing in their blogs, it seems that next release will focus more on improving the software we have and enhace performance than in adding new features, which is great if we don't want to die of success. Congratulations!

26 February 2006

Jose Carlos Garcia Sogo: It's snowing

Right now it is snowing in Madrid quite hard. Everything is becoming white by moments, and the traffic is starting to be very difficult. More news tomorrow morning!

19 February 2006

Jose Carlos Garcia Sogo: Making good movies

It seems that lately something has changed in movie industry, or perhaps it is only by chance, but there are a lot of good movies that worth going to a theatre to watch them. Today I watched the latest movie by George Clooney. He is both an actor in it, and most important, the director. And he is incredibly good in this new role. The movie, though being mostly a documentary, does not lack in any moment rythm, and it being filmed in black and white, with real images from McCarthy mixed with filmed ones, and a very good music makes you feel like if you were in those fifties (though I have never known them). Good night, and good luck.

Next.

Previous.